<?php
header('Content-Type: application/json');
?>
{
  'api-manual': '/api',
  'user': {
    'api-manual': null,
    'auth': 'POST, /api/user/auth',
    'get-user-info': ['GET, /api/user/(:id)', 'GET, /api/user?username=(:username)']
  },
  'project': {
    'api-manual': null,
    'get-project-list': 'GET, /api/project',
    'create': 'POST, /api/project',
    'edit': 'PATCH, /api/project/(:hash)',
    'delete': 'DELETE, /api/project/(:hash)'
  },
  'task': {
    'api-manual': null,
    'get-task-list': ['GET, /api/project/(:proj-hash)/tasks', 'GET, /api/task/showAll/(:proj-hash)'],
    'get': 'GET, /api/project/(:proj-hash)/task/(:task-hash)'.
    'create': 'POST, /api/project/(:proj-hash)/task/(:task-hash)',
    'delete': 'DELETE, /api/project/(:proj-hash)/task/(:task-hash)',
    'edit': 'PATCH, /api/project/(:proj-hash)/task/(:task-hash)'
  },
  'comment': {
    'api-manual': null,
    'get': 'GET, /api/comment/(:task-hash)',
    'add': 'POST, /api/comment/(:task-hash)',
    'delete': 'DELETE, /api/comment/(:comment-hash)'
  }
}
